export default class RawUserInfo {
    /**
     * 用户ID
     * @type {string}
     */
    userId

    /**
     * 用户名
     * @type {string}
     */
    name

    /**
     * 用户头像图片链接（小）
     * @type {string}
     */
    image

    /**
     * 用户头像图片链接（大）
     * @type {string}
     */
    imageBig

    /**
     * 是否为高级会员
     * @type {boolean}
     */
    premium

    /**
     * 当前用户是否已关注该用户
     * @type {boolean}
     */
    isFollowed

    /**
     * 是否是我的Pixiv好友
     * @type {boolean}
     */
    isMypixiv

    /**
     * 当前用户是否屏蔽了该用户
     * @type {boolean}
     */
    isBlocking

    /**
     * 用户背景设置
     * @type {{repeat: null|string, color: null|string, url: string, isPrivate: boolean}}
     */
    background

    /**
     * 用户sketchLiveId
     * @type {null|string}
     */
    sketchLiveId

    /**
     * 用户sketchLives列表
     * @type {Array}
     */
    sketchLives

    /**
     * 用户委托信息
     * @type {{acceptRequest: boolean, isSubscribedReopenNotification: boolean}}
     */
    commission

    /**
     * 用户部分显示的信息标识
     * @type {number}
     */
    partial

    /**
     * 用户关注人数
     * @type {number}
     */
    following

    /**
     * 我的Pixiv好友数量
     * @type {number}
     */
    mypixivCount

    /**
     * 是否回关
     * @type {boolean}
     */
    followedBack

    /**
     * 用户评论或额外信息
     * @type {string}
     */
    comment

    /**
     * 用户评论HTML版本
     * @type {string}
     */
    commentHtml

    /**
     * 用户个人网站链接
     * @type {null|string}
     */
    webpage

    /**
     * 用户社交网络信息
     * @type {{twitter: {url: string}}}
     */
    social

    /**
     * 用户地区信息
     * @type {{name: string, region: string, prefecture: null|string, privacyLevel: string}}
     */
    region

    /**
     * 用户年龄信息
     * @type {{name: string, privacyLevel: string}}
     */
    age

    /**
     * 用户生日信息
     * @type {{name: string, privacyLevel: string}}
     */
    birthDay

    /**
     * 用户性别信息
     * @type {{name: string, privacyLevel: string}}
     */
    gender

    /**
     * 用户职业信息
     * @type {{name: string, privacyLevel: string}}
     */
    job

    /**
     * 用户工作空间信息
     * @type {null|Object}
     */
    workspace

    /**
     * 是否为官方用户
     * @type {boolean}
     */
    official

    /**
     * 用户所属群组
     * @type {null|string}
     */
    group

    /**
     * 构造函数
     * @param {Object} data - 用户数据对象
     */
    constructor(data) {
        this.userId = data.userId
        this.name = data.name
        this.image = data.image
        this.imageBig = data.imageBig
        this.premium = data.premium
        this.isFollowed = data.isFollowed
        this.isMypixiv = data.isMypixiv
        this.isBlocking = data.isBlocking
        this.background = data.background
        this.sketchLiveId = data.sketchLiveId
        this.sketchLives = data.sketchLives
        this.commission = data.commission
        this.partial = data.partial
        this.following = data.following
        this.mypixivCount = data.mypixivCount
        this.followedBack = data.followedBack
        this.comment = data.comment
        this.commentHtml = data.commentHtml
        this.webpage = data.webpage
        this.social = data.social
        this.region = data.region
        this.age = data.age
        this.birthDay = data.birthDay
        this.gender = data.gender
        this.job = data.job
        this.workspace = data.workspace
        this.official = data.official
        this.group = data.group
    }
}
